package com.robam.cloud.common.bean.authcenter.entity.wechat.message.model;

import com.robam.cloud.common.bean.authcenter.entity.wechat.message.MsgType;
import com.robam.cloud.common.bean.authcenter.entity.wechat.message.shared.Media;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 回复图片消息
 */
@XStreamAlias("xml")
public class RespMsgImage extends RespMsg {
    @XStreamAlias("Image")
    private Media image;

    public RespMsgImage(BaseMsg req, Media image) {
        super(req, MsgType.RespType.image.name());
        this.image = image;
    }

    public Media getImage() {
        return image;
    }

    public void setImage(Media image) {
        this.image = image;
    }

}
